package com.cts.learninglibrary.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.sql.Timestamp;

/**
 * @author: kwanghuee
 * @date: 2020/8/18 9:15
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("classify")
@ApiModel(value = "分类表")
public class Classify {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id", required = true)
    private Integer id;

    @ApiModelProperty(value = "分类名",required = true)
    private String classifyName;

    @ApiModelProperty(value = "操作时间", required = true)
    private Timestamp operateTime;
}
